<?php

namespace app\common\validate\printmanager;

use think\Validate;

class Printing extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
    ];
    /**
     * 提示消息
     */
    protected $message = [
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => [
            'title' => 'require|min:2|max:100',
            'content' => 'require|min:2|max:1500',
            'category_id' => 'require|number',
            'used_time' => 'require|number',
            'linkname' => 'require|min:1|max:32',
            'telephone' => 'require|min:7|max:15',
        ],
        'edit' => [],
    ];
    
}
